//
//  XWSettingItem.h
//  CGWSWW
//
//  Created by lanou3g on 16/8/13.
//  Copyright © 2016年 CXG. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
//block
 typedef void(^XWSettingItemOption)();
@interface XWSettingItem : NSObject
/**
 *  图标
 */
@property(nonatomic,copy)NSString *icon;
/**
 *  标题
 */
@property(nonatomic,copy)NSString *title;


/**
 *  block
 */
@property(nonatomic,copy)XWSettingItemOption option;

+(instancetype)itemWithIcon:(NSString*)icon title:(NSString*)title;
+(instancetype)itemWithTitle:(NSString *)title;

@end
